package com.kj.report.model;

/**
 * POJO:TsIndexType
 * 
 * @author ZJW
 * @date 2017-10-31
 */
@SuppressWarnings("serial")
public class TsIndexType extends BaseEntity {
	
	private Integer	indexTypeId;		
	private String	simpleDescription;		 /* 简单描述 */ 
	private String	expression;		 /* 公式 */ 
	private String	indexName;		 /* 指标名称 */ 
	private String	indexCode;		 /* 编码 */ 
	private Integer	indexType;		 /* 1 、膳食建议 2、营养 3、运动 */ 
	private String	personality;		 /* 个性化建议 */ 
	private String	proposal;		 /* 膳食建议 */ 
	private Integer	status;		 /* 状态  1 可用 */ 

	// Constructor
	public TsIndexType() {
	}
	
	/**
	 * full Constructor
	 */
	public TsIndexType(Integer indexTypeId, String simpleDescription, String expression, String indexName, String indexCode, Integer indexType, String personality, String proposal, Integer status) {
		this.indexTypeId = indexTypeId;
		this.simpleDescription = simpleDescription;
		this.expression = expression;
		this.indexName = indexName;
		this.indexCode = indexCode;
		this.indexType = indexType;
		this.personality = personality;
		this.proposal = proposal;
		this.status = status;
	}

	// getter && setter
	// 在setter方法最后加上"return this;"并把返回参数改为TsIndexType可以实现连缀设置属性
	
	public Integer getIndexTypeId() {
		return indexTypeId;
	}

	public TsIndexType setIndexTypeId(Integer indexTypeId) {
		this.indexTypeId = indexTypeId;
		return this;
	}
	
	public String getSimpleDescription() {
		return simpleDescription;
	}

	public void setSimpleDescription(String simpleDescription) {
		this.simpleDescription = simpleDescription;
	}

	public String getExpression() {
		return expression;
	}

	public TsIndexType setExpression(String expression) {
		this.expression = expression;
		return this;
	}
	
	
	public String getIndexName() {
		return indexName;
	}

	public TsIndexType setIndexName(String indexName) {
		this.indexName = indexName;
		return this;
	}
	
	
	public String getIndexCode() {
		return indexCode;
	}

	public TsIndexType setIndexCode(String indexCode) {
		this.indexCode = indexCode;
		return this;
	}
	
	
	public Integer getIndexType() {
		return indexType;
	}

	public TsIndexType setIndexType(Integer indexType) {
		this.indexType = indexType;
		return this;
	}
	
	
	public String getPersonality() {
		return personality;
	}

	public TsIndexType setPersonality(String personality) {
		this.personality = personality;
		return this;
	}
	
	
	public String getProposal() {
		return proposal;
	}

	public TsIndexType setProposal(String proposal) {
		this.proposal = proposal;
		return this;
	}
	
	
	public Integer getStatus() {
		return status;
	}

	public TsIndexType setStatus(Integer status) {
		this.status = status;
		return this;
	}
	
	@Override
	public String toString() {
		return "TsIndexType [" + "indexTypeId=" + indexTypeId + ", simpleDescription=" + simpleDescription + ", expression=" + expression + ", indexName=" + indexName + ", indexCode=" + indexCode + ", indexType=" + indexType + ", personality=" + personality + ", proposal=" + proposal + ", status=" + status +  "]";
	}
}
